BaseSubsystem.ReadMemoryInt16 方法

从共享记忆体读取一个短整数。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
short ReadMemoryInt16(
       int byteOffset
)
Function ReadMemoryInt16(
       byteOffset As Integer
) As Short

参数

byteOffset

型别:int

指定位元组偏移量到一个位置以读取短整数值。索引以 0 为起始。

回传值

型别:short

可用的 EtherCAT 状态

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

参见

BaseSubsystem 类别

IntervalZero.KINGSTAR.Base.Class 命名空间